package com.ihisomp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 用户与工种关联表
 * </p>
 *
 * @author zy
 * @since 2022-04-15
 */
@TableName("t_sys_user_work")
public class SysUserWork implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户与工种对应主键
     */
    @TableId(value = "user_work_key", type = IdType.INPUT)
    private String userWorkKey;

    /**
     * 用户主键
     */
    private String userKey;

    /**
     * 工种
     */
    private String typeOfWork;

    /**
     * 机构主键
     */
    private String orgKey;

    public String getUserWorkKey() {
        return userWorkKey;
    }

    public void setUserWorkKey(String userWorkKey) {
        this.userWorkKey = userWorkKey;
    }
    public String getUserKey() {
        return userKey;
    }

    public void setUserKey(String userKey) {
        this.userKey = userKey;
    }
    public String getTypeOfWork() {
        return typeOfWork;
    }

    public void setTypeOfWork(String typeOfWork) {
        this.typeOfWork = typeOfWork;
    }
    public String getOrgKey() {
        return orgKey;
    }

    public void setOrgKey(String orgKey) {
        this.orgKey = orgKey;
    }

    @Override
    public String toString() {
        return "SysUserWork{" +
            "userWorkKey=" + userWorkKey +
            ", userKey=" + userKey +
            ", typeOfWork=" + typeOfWork +
            ", orgKey=" + orgKey +
        "}";
    }
}
